package com.hongxun.design.bean;

import java.util.List;

/**
 * Created by zerdoor_pc on 2016/6/8.
 */
public class SearchProjectIosBean {

    public long project_id;
    public String UUID;
    public String project_name;
    public double lng;
    public double lat;
    public long num = 0;
    public long is_finish = 0;

    public String thumb;
    public long project_type;
    public long codeset_version_id;

    public String stage;//,隔开
    public String stage_ids;//,隔开

    public String schedule;//,隔开
    public String create_time;//,隔开
    public String is_exp;//,隔开


    public String manager = "";
    public String explorationer = "";
    public String designer = "";
    public String auditor = "";


    public void setListBean(List<SearchProjectBean> bean){
        for (SearchProjectBean b:bean){
            try {
                setBean(b);
            }catch (Exception e){}
        }
    }
    public void setBean(SearchProjectBean bean) {
        try {
            project_id = Long.parseLong(bean.getProject_id());
        } catch (Exception e) {
        }
        try {
            UUID = bean.getUUID();
        } catch (Exception e) {
        }
        try {
            project_name = bean.getProject_name();
        } catch (Exception e) {
        }
        try {
            lng = Double.parseDouble(bean.getLng());
        } catch (Exception e) {
        }
        try {
            lat = Double.parseDouble(bean.getLat());
        } catch (Exception e) {
        }
        try {
            num = Long.parseLong(bean.getNum());
        } catch (Exception e) {
        }
        try {
            is_finish = Long.parseLong(bean.getIs_finish());
        } catch (Exception e) {
        }

        try {
            thumb = bean.getThumb();
        } catch (Exception e) {
        }
        try {
            project_type = Long.parseLong(bean.getProject_type());
        } catch (Exception e) {
        }
        try {
            codeset_version_id = Long.parseLong(bean.getCodeset_version_id());
        } catch (Exception e) {
        }

        try {
            stage = bean.getStage();//,隔开
        } catch (Exception e) {
        }
        try {
            stage_ids = bean.getStage_ids();//,隔开
        } catch (Exception e) {
        }

        try {
            schedule = bean.getSchedule();//,隔开
        } catch (Exception e) {
        }
        try {
            create_time = bean.getCreate_time();//,隔开
        } catch (Exception e) {
        }
        try {
            is_exp = bean.getIs_exp();//,隔开
        } catch (Exception e) {
        }

        try {
            manager = bean.getManager();
        } catch (Exception e) {
        }
        try {
            explorationer = bean.getExplorationer();
        } catch (Exception e) {
        }
        try {
            designer = bean.getDesigner();
        } catch (Exception e) {
        }
        try {
            auditor = bean.getAuditor();
        } catch (Exception e) {
        }
    }


    public long getProject_id() {
        return project_id;
    }

    public void setProject_id(long project_id) {
        this.project_id = project_id;
    }

    public String getUUID() {
        return UUID;
    }

    public void setUUID(String UUID) {
        this.UUID = UUID;
    }

    public String getProject_name() {
        return project_name;
    }

    public void setProject_name(String project_name) {
        this.project_name = project_name;
    }

    public double getLng() {
        return lng;
    }

    public void setLng(double lng) {
        this.lng = lng;
    }

    public double getLat() {
        return lat;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    public long getNum() {
        return num;
    }

    public void setNum(long num) {
        this.num = num;
    }

    public long getIs_finish() {
        return is_finish;
    }

    public void setIs_finish(long is_finish) {
        this.is_finish = is_finish;
    }

    public String getThumb() {
        return thumb;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb;
    }

    public long getProject_type() {
        return project_type;
    }

    public void setProject_type(long project_type) {
        this.project_type = project_type;
    }

    public long getCodeset_version_id() {
        return codeset_version_id;
    }

    public void setCodeset_version_id(long codeset_version_id) {
        this.codeset_version_id = codeset_version_id;
    }

    public String getStage() {
        return stage;
    }

    public void setStage(String stage) {
        this.stage = stage;
    }

    public String getStage_ids() {
        return stage_ids;
    }

    public void setStage_ids(String stage_ids) {
        this.stage_ids = stage_ids;
    }

    public String getSchedule() {
        return schedule;
    }

    public void setSchedule(String schedule) {
        this.schedule = schedule;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getIs_exp() {
        return is_exp;
    }

    public void setIs_exp(String is_exp) {
        this.is_exp = is_exp;
    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }

    public String getExplorationer() {
        return explorationer;
    }

    public void setExplorationer(String explorationer) {
        this.explorationer = explorationer;
    }

    public String getDesigner() {
        return designer;
    }

    public void setDesigner(String designer) {
        this.designer = designer;
    }

    public String getAuditor() {
        return auditor;
    }

    public void setAuditor(String auditor) {
        this.auditor = auditor;
    }
}
